package org.dromara.wms.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 仓库管理对象 wms_warehouse
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wms_warehouse_product")
public class WmsWarehouseProduct implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
    @TableId(value = "wh_id")
    private Long whId;

    /**
     * 产品ID
     */
    private Long productId;

    /**
     * 最低存储
     */
    private Double minStock;

    /**
     * 最高存储
     */
    private Double maxStock;

    /**
     * 存储区域
     */
    private Long areaId;

  /**
   * 存储区域名称
   */
  @TableField(exist = false)
  private String areaName;


  /**
   * 仓库名称
   */
  @TableField(exist = false)
  private String warehouseName;

    /**
     * 产品名称
     */
    @TableField(exist = false)
    private String productName;

  /**
   * 产品名称
   */
  @TableField(exist = false)
  private Double quantity;

}
